package com.dody.agile.payment.model;

import java.util.Date;
import java.util.Map;

/**
 * @author ShiXin
 * @date 2019/4/13 21:36
 * @description agile 保存运行成功的支付记录
 */
public class Paycheck {

    private Date payPeriodStart;
    private Date payPeriodEnd;
    private double grossPay;
    private double netPay;
    private double deductions;
    private Map<String, String> itsFields;
    public Paycheck(Date payPeriodStart, Date payPeriodEnd){
        this.payPeriodStart = payPeriodStart;
        this.payPeriodEnd = payPeriodEnd;
    }
    public void setGrossPay(double grossPay) {
        this.grossPay = grossPay;

    }
    public void setDeductions(double deductions) {
        this.deductions  = deductions;
    }
    public void setNetPay(double netPay){
        this.netPay = netPay;
    }
    public Date getPayPeriodEndDate() {

        return this.payPeriodEnd;
    }
    public Date getPayPeriodStartDate() {

        return this.payPeriodStart;
    }

    public double getGrossPay() {
        return grossPay;
    }

    public double getNetPay() {
        return netPay;
    }

    public double getDeductions() {
        return deductions;
    }
}
